home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 22 / PCPP #22.iso / Quake2 / q2source_12_11 / utils3 / qe4 / map.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-12  |  1.0 KB  |  32 lines

  1. // map.h -- the state of the current world that all views are displaying
  2.  
  3. extern    char        currentmap[1024];
  4.  
  5. // head/tail of doubly linked lists
  6. extern    brush_t    active_brushes;    // brushes currently being displayed
  7. extern    brush_t    selected_brushes;    // highlighted
  8. extern    face_t    *selected_face;
  9. extern    brush_t    *selected_face_brush;
  10. extern    brush_t    filtered_brushes;    // brushes that have been filtered or regioned
  11.  
  12. extern    entity_t    entities;
  13. extern    entity_t    *world_entity;    // the world entity is NOT included in
  14.                                     // the entities chain
  15.  
  16. extern    qboolean    modified;        // for quit confirmations
  17.  
  18. extern    vec3_t    region_mins, region_maxs;
  19. extern    qboolean    region_active;
  20.  
  21. void     Map_LoadFile (char *filename);
  22. void     Map_SaveFile (char *filename, qboolean use_region);
  23. void    Map_New (void);
  24. void    Map_BuildBrushData(void);
  25.  
  26. void    Map_RegionOff (void);
  27. void    Map_RegionXY (void);
  28. void    Map_RegionTallBrush (void);
  29. void    Map_RegionBrush (void);
  30. void    Map_RegionSelectedBrushes (void);
  31. qboolean Map_IsBrushFiltered (brush_t *b);
  32.